package com.ifinc.common.exception;

import java.util.Map;

/**
 * Created with IntelliJ IDEA.
 * User: luotao
 * Date: 13-6-3
 * Time: 下午10:0
 */
public class ValidException extends RuntimeException{
    private String retCode;

    private String retMsg;

    private Map<String,Object> tipMap;

    private String returnStr;

    public String getRetCode() {
        return retCode;
    }

    public String getRetMsg() {
        return retMsg;
    }

    public Map<String,Object> getTipMap() {
        return tipMap;
    }

    public String getReturnStr() {
        return returnStr;
    }

    public ValidException(String message, String retCode, String retMsg, Map<String, Object> tipMap, String resultStr) {
        super(message);
        this.retCode=retCode;
        this.retMsg=retMsg;
        this.tipMap=tipMap;
        this.returnStr = resultStr;
    }
}
